package dao;

import pojo.Department;

import java.util.List;

/**
 * @author 陈金平
 * @Description
 * @create 2020/11/19 11:54
 */
public interface DepartmentDao {
    public List<Department> selectAllDepartments();
    public Integer insertOneDepartment(Department department);
    public Integer updateOneDepartment(Department department);
    public Department selectDepartmentById(Integer did);
    public Integer deleteAllDepartment(Integer did);
    public Integer deleteAllDepartments(List<Integer> dIds);
}
